<div class="panel panel-default corner-radius panel-hot-topics">
	<div class="panel-heading">
		<h3 class="panel-title"><i class="fa fa-area-chart"></i> 热门文章</h3>
	</div>
	<div class="panel-body">
	<@contents size=10 order='hottest'>
		<ul class="list" id="hots">
           <#list results.content as row>
                  <li>
                  ${row_index+1}.
                  <a href="${base}/view/${row.id}">
					<#if row.title?length gt 17>
						${row.title?substring(0,16)}..
					<#else>
						${row.title!} 
					</#if>
				  </a>   
				  </li>         
            </#list>
		</ul>
		</@contents>
	</div>
</div>

<div class="panel panel-default corner-radius panel-hot-topics">
	<div class="panel-heading">
		<h3 class="panel-title"><i class="fa fa-bars"></i> 最新发布</h3>
	</div>
	<div class="panel-body">
	<@contents size=10>
		<ul class="list" id="latests">
			<#list results.content as row>
                  <li>
                  ${row_index+1}.
                  <a href="${base}/view/${row.id}">
					<#if row.title?length gt 17>
						${row.title?substring(0,16)}..
					<#else>
						${row.title!} 
					</#if>
				  </a>   
				  </li>         
            </#list>
		</ul>
	</@contents>
	</div>
</div>